package com.bjc2.adapter.class_adapter;

/**
 * 计算机类
 */
public class Computer {

    /**
     * 从SD卡中读取数据
     * @param sdCard
     * @return
     */
    public String readSD(SDCard sdCard){
        if (sdCard == null) {
            throw new NullPointerException("sd card 不能为空");
        }
        return sdCard.readSD();
    }
}
